import { createSlice } from '@reduxjs/toolkit'

export const listSlice = createSlice({
  name: 'list',
  initialState: {
    name:localStorage.getItem('username'),
    avatar:localStorage.getItem('avatar')
  },
  reducers: {
    
  },
})

// Action creators are generated for each case reducer function
export const {  } = listSlice.actions

export default listSlice.reducer